package com.echartsdata.Entity;

import com.alibaba.fastjson2.annotation.JSONField;

/***
 * 忘仙谷游客来源公开占比
 * @author 凉笙
 * 2024-9-25
 */
public class Tourist {
    //生成json数据别名
    @JSONField(name ="name" ,ordinal = 1 )
    private String source;
    @JSONField(name ="value" ,ordinal = 2)
    private Integer number;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Tourist{" +
                "source='" + source + '\'' +
                ", number=" + number +
                '}';
    }
}
